/**
 * 流程定义
 * @author luguoxiang
 * @date 2025-08-02
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
import { createApi, request } from '@/soar';

export const basePath = '/flow/define';
export const subject = '流程定义';
const api = createApi(basePath, subject);

export default {
  ...api,
  deploy: (id: string) => request.post(`${basePath}/deploy`, { params: { id } }),
};
